<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>添加比赛信息</title>
	<link rel="stylesheet" type="text/css" href="./app/common/style.css">
</head>
<body>
    <div class="box">
    	<h2>添加比赛信息</h2>
		<form class="form" action="index.php?c=Match&m=home&a=doinsert" method="post">
		<span>球队一：</span>
			<select class="team1" name="team1">
				{foreach from=$allTeam item=v}
					<option value='{$v['id']}''>{$v['name']}</option>
				{/foreach}
			</select><br>
		<span>比 分：</span>
			<input class="score" type="text" name="score"><br>
		<span>球队二：</span>
			<select class="team2" name="team2">
				{foreach from=$allTeam item=v}
					<option value='{$v['id']}''>{$v['name']}</option>
				{/foreach}
			</select><br>
			<input class="submit" type="submit" value="提交">
		</form>
	</div>
</body>
</html>